﻿namespace WholeSlideImageViewer
{
    public interface IExportProgress
    {
        event ExportProgressTileCountEstimated? TileCountEstimated;
        event ExportProgressTileCountWritten? TileCountWritten;
        event ExportProgressCompleted? Completed;
        event ExportProgressFailed? Failed;
        event ExportProgressCanceled? Canceled;
    }

    public delegate void ExportProgressTileCountEstimated(int totalTileCount);

    public delegate void ExportProgressTileCountWritten(int totalTileCount, int tilesWritten);

    public delegate void ExportProgressCompleted();

    public delegate void ExportProgressFailed();

    public delegate void ExportProgressCanceled();
}
